package org.rk.core.tools.office.util.pdfUtil;

import java.io.Serializable;
import java.util.List;

/**
 * @类描述：pdf表格网布实体,将pdf单页生成一个网格页面，根据指定列数和行数，生成大小完全一样的网格，会根据指定列数和行数平均分配
 * @author 曹仁道
 * 2017年1月4日 下午5:49:17
 */
public class PdfGridTableBean implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	//标题部分
	private String title="";//标题
	private String childTtile="";//副标题
	private boolean isPerShowTitile=false;//是否每页显示标题，默认false
	private boolean isPerShowChildTtile=false;//是否每页显示副标题，默认false
	private float titleFontSize=16;//标题字号
	private int titlefontStyle=PdfGridConst.fontstyle.blod;//标题字体样式
	private float childTitleFontSize=12;//副标题字号
	private int childTitleStyle=PdfGridConst.fontstyle.blod;//副标题字体样式
	
	private List<PdfGridCellBean> contentList;//数据集合
	private List<PdfGridCellBean> inscribeList;//落款数据集合
	private boolean isPerInscribe=false;//是否每页有落款
	
	public PdfGridTableBean(){}
	public PdfGridTableBean(String title){
		this.title=title;
	}
	public PdfGridTableBean(String title,List<PdfGridCellBean> contentList){
		this.title=title;
		this.contentList=contentList;
	}
	public PdfGridTableBean(String title,String childTtile){
		this.title=title;
		this.childTtile=childTtile;
	}
	public PdfGridTableBean(String title,String childTtile,List<PdfGridCellBean> contentList){
		this.title=title;
		this.childTtile=childTtile;
		this.contentList=contentList;
	}
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getChildTtile() {
		return childTtile;
	}
	public void setChildTtile(String childTtile) {
		this.childTtile = childTtile;
	}
	public boolean isPerShowTitile() {
		return isPerShowTitile;
	}
	public void setPerShowTitile(boolean isPerShowTitile) {
		this.isPerShowTitile = isPerShowTitile;
	}
	public boolean isPerShowChildTtile() {
		return isPerShowChildTtile;
	}
	public void setPerShowChildTtile(boolean isPerShowChildTtile) {
		this.isPerShowChildTtile = isPerShowChildTtile;
	}
	public float getTitleFontSize() {
		return titleFontSize;
	}
	public void setTitleFontSize(float titleFontSize) {
		this.titleFontSize = titleFontSize;
	}
	public int getTitlefontStyle() {
		return titlefontStyle;
	}
	public void setTitlefontStyle(int titlefontStyle) {
		this.titlefontStyle = titlefontStyle;
	}
	public float getChildTitleFontSize() {
		return childTitleFontSize;
	}
	public void setChildTitleFontSize(float childTitleFontSize) {
		this.childTitleFontSize = childTitleFontSize;
	}
	public int getChildTitleStyle() {
		return childTitleStyle;
	}
	public void setChildTitleStyle(int childTitleStyle) {
		this.childTitleStyle = childTitleStyle;
	}
	public List<PdfGridCellBean> getContentList() {
		return contentList;
	}
	public void setContentList(List<PdfGridCellBean> contentList) {
		this.contentList = contentList;
	}
	public List<PdfGridCellBean> getInscribeList() {
		return inscribeList;
	}
	public void setInscribeList(List<PdfGridCellBean> inscribeList) {
		this.inscribeList = inscribeList;
	}
	public boolean isPerInscribe() {
		return isPerInscribe;
	}
	public void setPerInscribe(boolean isPerInscribe) {
		this.isPerInscribe = isPerInscribe;
	}
	
	
}
